package com.example.member.controller;

import com.example.member.api.model.MemberReq;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Slf4j
@RestController
@RequestMapping("/member")
public class MemberController {


    @PostMapping("/add")
    public void addMember(@RequestBody MemberReq memberReq) {
        log.info("请求添加会员参数:{}", memberReq);
    }


}
